<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="shortcut icon" href="__STATIC__/Index/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="__STATIC__/Index/Css/global.css" />

<script type="text/javascript" src="__STATIC__/Index/Js/jquery.min.js"></script>
<script type="text/javascript" src="__STATIC__/Index/Js/common.js"></script> 

<script type="text/javascript" src="__STATIC__/Index/Js/scrolltopcontrol.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="__STATIC__/Index/Js/DD_belatedPNG.js"></script>
<script>
    DD_belatedPNG.fix(".img_logo", "img");
</script>
<![endif]-->
</head>
<body>
	<!--S header-->
	<div class="header">
		<div class="top_c">
			<div class="top_c_r">
				<ul class="top_list">

					<if value="!isset($_SESSION['uname'])">
					<li class="li_bg">
						<a href="{|U:'Member/login'}" class="a_login">登录</a>
						<a href="{|U:'Member/register'}" class="a_reg">注册</a>
					</li>
					<else/>
					<li class="li_bg">
						<a href="{|U:'Member/member'}" class="a_login">{$_SESSION['uname']}</a>
						<a href="{|U:'Member/out'}" class="a_reg">退出</a>
					</li>
					</if>
					 

					<li>  
						<a href="<if value="!$_SESSION['uid']">{|U:'Member/login'}<else />{|U:'Member/member_order'}</if>" class="a_show">我的订单</a> 
						<div class="in_hide">
							<a href="javascript:void(0)" class="a_hide">待支付</a>
							<a href="javascript:void(0)" class="a_hide">待收货</a> 
						</div>

					</li>
					<li class="li_buy"><a href="{|U:'Cart/index'}">购物车</a><span><if value="$_SESSION['cart']['goods']">{$_SESSION['cart']['total_rows']}<else />0</if></span></li>
				</ul>
			</div>
		</div> 
	</div>
	<!-- logo、搜索框等 -->
	<div class="logo_c">
		<a href="__ROOT__" class="logo"></a>
		<!-- <a class="logo1"></a>  -->
		<div class="search_box">
				<form id="searchForm" method="get" action="" name="searchForm"> 
					<input id="search_input" class="ui_input" type="text" value="服饰5折起" name="keyword"> 
					<input id="search_button" type="submit" value="">

					<div id="KeywordNew" class="g-search-hotwords">
						<input id="searchDefaultKeyword" type="hidden" key="" value="">
							<a href="__ROOT__/index.php/Index/List/index/cid/13" target="_blank" name="">
							<font style="color:#FF6600">衬衫</font>
						</a>
						<a href="__ROOT__/index.php/Index/List/index/cid/14" target="_blank" name="">连衣裙</a> 
						<a href="__ROOT__/index.php/Index/List/index/cid/15" target="_blank" name="">针织衫</a>
						<a href="__ROOT__/index.php/Index/List/index/cid/16" target="_blank" name="">T恤</a>
						<a href="__ROOT__/index.php/Index/List/index/cid/17" target="_blank" name="">风衣</a>    
					</div>

				</form>
			</div>
		<div class="r_box"></div>

	</div>
	<!--S nav -->
	<div class="nav">
		<div class="nav_c">
			<dl class="c_dl">
				<dd>
					<a href="javascript:void(0)" class="a_dd_show">全部商品分类</a> 
					<div class="a_dd_box">

						<ul class="list_s">
							<li class="in_li"> 
								<div class="in_div1"><i id="i_bg0"></i><a href="javascript:void(0)">名品</a></div>
								<div class="in_div2"><a href="javascript:void(0)">今日上新</a></div> 
								
								<div class="li_in_hide">
									<p class="p_r_top"><a href="javascript:void(0)">名品特卖更多&gt</a></p>
									<div class="in_pp">
										<foreach from="$b_data" key="$k" value="$v">
											<a href="javascript:void(0)"><img src="__ROOT__/{$v.logo}" alt=""></a>
										</foreach>
									</div> 
								</div>
							</li>
						</ul>


						<foreach from="$c_data" key="$k" value="$v">
							<ul class="list_s">
								<li class="in_li"> 
									<div class="in_div1"><i id="i_bg{$v.cid}"></i><a href="{|U:'List/index',array('cid'=>$v[cid])}">{$v.cname}</a></div>

									<foreach from="$v['cate_s']" key="$key" value="$value">
										<div class="in_div2"><a href="{|U:'List/index',array('cid'=>$value[cid])}">{$value.cname}</a></div>
									</foreach>

									<div class="li_in_hide"> 
										<foreach from="$v['son']" key="$k_s" value="$v_s">
											<a href="{|U:'List/index',array('cid'=>$v_s[cid])}" class="in_a_title">{$v_s.cname}</a>
											<div class="in_a_box">
													<foreach from="$v_s['son']" key="$key" value="$value">
														<a href="{|U:'List/index',array('cid'=>$value[cid])}">{$value.cname}</a> 
													</foreach>
												</div> 
										</foreach> 
									</div>
								</li>
							</ul>
						</foreach> 


					</div> 
				</dd> 
				<dt><a href="__ROOT__" class="a_s">首页</a></dt>
				<foreach from="$top_c_data" key="$key" value="$value">
					<dt><a href="{|U:'List/index',array('cid'=>$value[cid])}" class="a_s">{$value.cname}</a></dt>
				</foreach> 
				<!-- <span class="span_new"></span> -->
				<!-- <span class="span_hot"></span> --> 
			</dl>
		</div>
	</div>   
	<!-- =========头部结束====================================== -->